home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Apache 1.0 / src / CHANGES < prev    next >
Text File  |  1995-12-04  |  30KB  |  724 lines

  1. Changes with Apache 1.0.0
  2.  
  3.   *) 'dbmmanage' script now takes fourth command-line argument, which is
  4.      group(s) of the user, if given.  [Rob Hartill]
  5.  
  6.   *) httpd_monitor Perl utility script added to "support" directory;
  7.      lets you know what your active server processes are up to.  [Known
  8.      to work on SunOS and HP-UX at least].  [Rob Hartill]
  9.  
  10.   *) Passes TZ environment variable to child processes if set on startup
  11.      [ David Robinson ]
  12.  
  13.   *) Attempting to retrieve the URI /foo/bar/zot.map (an imagemap request
  14.      with *no* QUERY_STRING) returns the default URL, rather than a core
  15.      dump.  [Mark Cox]
  16.  
  17.   *) Attempting to configure auth without any "requires" lines should now
  18.      be equivalent to "require valid-user", rather than a core dump.
  19.      [Patch supplied by J. Katzman]
  20.  
  21.   *) Getparents() routine fixed to handle some awkward corner cases better;
  22.      in particular, '/./' is eliminated from incoming URIs.  Also fixed the
  23.      no2slash() utility routine to reduce any number of consecutive slashes
  24.      to one.  These changes keep "trick" URIs from avoiding <Directory>
  25.      checks.  [David Robinson]
  26.  
  27.   *) Allowed any number of '/' characters to match a single '/' when
  28.      checking for Aliases; this keeps certain ScriptAlias directives
  29.      from getting bypassed.  [Robert Thau]
  30.  
  31.   *) DBM group code now checks all groups, not just the first [Rob Hartill]
  32.  
  33.   *) "allow from good.com" no longer allows clients from nogood.com to
  34.      connect; formerly this was allowed because the terminal substrings
  35.      do match.  [Robert Thau]
  36.  
  37.   *) Transactions interrupted in the middle of processing some include
  38.      directive are now logged correctly [Robert Thau]
  39.  
  40.   *) Cleaned up Configure script so it doesn't abuse EXTRA_LIBS to specify
  41.      host-specific default libraries.  [Ben Laurie]
  42.  
  43.   *) Cleaned up http_main code a bit; IdentityCheck may now work better on 
  44.      systems with virtual hosts.  [David Robinson]
  45.  
  46.   *) Improved installation instructions in top-level README [Brian Behlendorf]
  47.  
  48. Changes with Apache 0.8.16
  49.  
  50.   *) New man page for 'httpd' added to support directory [David Robinson]
  51.  
  52.   *) .htgroup files can have more than one line giving members for a
  53.      given group (each must have the group name in front), for NCSA
  54.      back-compatibility [Robert Thau]
  55.  
  56.   *) Mutual exclusion around accept() is on by default for SVR4 systems
  57.      generally, since they generally can't handle multiple processes in
  58.      accept() on the same socket.  This should cure flaky behavior on
  59.      a lot of those systems.  [David Robinson]
  60.  
  61.   *) AddType, AddEncoding, and AddLanguage directives take multiple
  62.      extensions on a single command line [David Robinson]
  63.  
  64.   *) UserDir can be disabled for a given virtual host by saying
  65.      "UserDir disabled" in the <VirtualHost> section --- it was a bug
  66.      that this didn't work.  [David Robinson]
  67.  
  68.   *) Compiles on QNX [Ben Laurie]
  69.  
  70.   *) Corrected parsing of ctime time format [David Robinson]
  71.  
  72.   *) httpd does a perror() before exiting if it can't log its pid
  73.      to the PidFile, to make diagnosing the error a bit easier.
  74.      [David Robinson]
  75.  
  76.   *) <!--#include file="..."--> can no longer include files in the
  77.      parent directory, for NCSA back-compatibility.  [David Robinson]
  78.  
  79.   *) '~' is *not* escaped in URIs generated for directory listings
  80.      [Roy Fielding]
  81.  
  82.   *) Eliminated compiler warning in the imagemap module [Randy Terbush]
  83.  
  84.   *) Fixed bug involving handling URIs with escaped %-characters
  85.      in redirects [David Robinson]
  86.  
  87. Changes with Apache 0.8.15
  88.  
  89.   *) Switched to new, simpler license
  90.  
  91.   *) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
  92.  
  93.   *) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
  94.  
  95.   *) Reject paths containing %-escaped '%' or null characters [David Robinson]
  96.  
  97.   *) Correctly handles internal redirects to files with names containing '%'
  98.      [David Robinson]
  99.  
  100.   *) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
  101.  
  102.   *) Use geteuid() rather than getuid() to see if we have root privilege,
  103.      so that server correctly resets privilege if run setuid root.  [Andrew
  104.      Wilson]
  105.  
  106.   *) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
  107.      [Randy Terbush]
  108.  
  109.   *) Fix relative URLs in imagemap files [Randy Terbush]
  110.  
  111.   *) Somewhat better fix for the old "Alias /foo/ /bar/" business
  112.      [David Robinson]
  113.  
  114.   *) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
  115.      entries all name the same one. [David Robinson]
  116.  
  117.   *) Fix directory listings with filenames containing unusual characters
  118.      [David Robinson]
  119.  
  120.   *) Better URI-escaping for generated URIs in directories with filenames
  121.      containing unusual characters [Ben Laurie]
  122.  
  123.   *) Fixed potential FILE* leak in http_main.c [Ben Laurie]
  124.  
  125.   *) Unblock alarms on error return from spawn_child() [David Robinson]  
  126.  
  127.   *) Sample Config files have extra note for SCO users [Ben Laurie]
  128.  
  129.   *) Configuration has note for HP-UX users [Rob Hartill]
  130.  
  131.   *) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
  132.  
  133.   *) Nuked bogus #define in httpd.h [David Robinson]
  134.  
  135.   *) Better test for whether a system has setrlimit() [David Robinson]
  136.  
  137.   *) Calls update_child_status() after reopen_scoreboard() [David Robinson]
  138.  
  139.   *) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
  140.      [Ben Laurie]
  141.  
  142. Changes with Apache 0.8.14
  143.  
  144.   *) Compiles on SCO ODT 3.0 [Ben Laurie]
  145.  
  146.   *) AddDescription works (better) [Ben Laurie]
  147.  
  148.   *) Leaves an intelligible error diagnostic when it can't set group
  149.      privileges on standalone startup [Andrew Wilson]
  150.  
  151.   *) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
  152.      that machine, which claims to be BSD but does not support RLIMIT.
  153.      [Randy Terbush]
  154.  
  155.   *) gcc -Wall no longer complains about an unused variable when util.c
  156.      is compiled with -DMINIMAL_DNS [Andrew Wilson]
  157.  
  158.   *) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
  159.  
  160. Changes with Apache 0.8.13
  161.  
  162.   *) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
  163.  
  164.   *) Have built-in imagemap code recognize & honor Point directive [James
  165.      Cloos]
  166.  
  167.   *) Generate cleaner directory listings in directories with a mix of
  168.      long and short filenames [Rob Hartill]
  169.  
  170.   *) Properly initialize dynamically loaded modules [Royston Shufflebotham]
  171.  
  172.   *) Properly default ServerName for virtual servers [Robert Thau]
  173.  
  174.   *) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
  175.      Paul Richards and a cast of thousands...]
  176.  
  177.   *) On self-identified BSD systems (we don't try to guess any more),
  178.      allocate a few extra file descriptors per virtual host with setrlimit,
  179.      if we can, to avoid running out. [Randy Terbush]
  180.  
  181.   *) Write 22-character lock file name into buffer with enough space
  182.      on startup [Konstantin Olchanski]
  183.  
  184.   *) Use archaic setpgrp() interface on NeXT, which requires it [Brian
  185.      Pinkerton]
  186.  
  187.   *) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
  188.  
  189.   *) Suppress -Wall warning by initializing variable in negotation code
  190.      [Tobias Weingartner]
  191.  
  192. Changes with Apache 0.8.12
  193.  
  194.   *) Doesn't pause three seconds after including a CGI script which is
  195.      too slow to die off (this is done by not even trying to kill off
  196.      subprocesses, including the SIGTERM/pause/SIGKILL routine, until
  197.      after the entire document has been processed).  [Robert Thau]
  198.  
  199.   *) Doesn't do SSI if Options Includes is off.  (Ooops).  [David Robinson]
  200.  
  201.   *) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
  202.  
  203.   *) Allows .htaccess files to override <Directory> sections naming the
  204.      same directory [David Robinson]
  205.  
  206.   *) Removed an efficiency hack in sub_req_lookup_uri which was
  207.      causing certain extremely marginal cases (e.g., ScriptAlias of a
  208.      *particular* index.html file) to fail.  [David Robinson]
  209.  
  210.   *) Doesn't log an error when the requested URI requires
  211.      authentication, but no auth header line was supplied by the
  212.      client; this is a normal condition (the client doesn't no auth is
  213.      needed here yet).  [Robert Thau]
  214.  
  215.   *) Behaves more sanely when the name server loses its mind [Sean Welch]
  216.  
  217.   *) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
  218.  
  219.   *) RFC931 code no longer passes out name of prior clients on current
  220.      requests if the current request came from a server that doesn't
  221.      do RFC931.  [David Robinson]
  222.  
  223.   *) Configuration script accepts "Module" lines with trailing whitespace.
  224.      [Robert Thau]
  225.  
  226.   *) Cleaned up compiler warning from mod_access.c [Robert Thau]
  227.  
  228.   *) Cleaned up comments in mod_cgi.c [Robert Thau]
  229.  
  230. Changes with Apache 0.8.11
  231.  
  232.   *) Wildcard <Directory> specifications work.  [Robert Thau]
  233.  
  234.   *) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
  235.   
  236.   *) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
  237.      the file being requested itself, in addition to the directories leading
  238.      up to it. [Robert Thau]
  239.   
  240.   *) Logs access failures due to symlink checks or invalid client address
  241.      in the error log [Roy Fielding, Robert Thau]
  242.   
  243.   *) Symlink checks deal correctly with systems where lstat of
  244.      "/path/to/some/link/" follows the link.  [Thau, Fielding]
  245.  
  246.   *) Doesn't reset DirectoryIndex to 'index.html' when
  247.      other directory options are set in a .htaccess file.  [Robert Thau]
  248.   
  249.   *) Clarifed init code and nuked bogus warning in mod_access.c
  250.      [Florent Guillaume]
  251.   
  252.   *) Corrected several directives in sample srm.conf
  253.      --- includes corrections to directory indexing icon-related directives
  254.      (using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
  255.      icons for encodings right, and turning on AddEncoding by default).
  256.      [Roy Fielding]
  257.   
  258.   *) Corrected descriptions of args to AddIcon and AddAlt in command table
  259.      [James Cloos]
  260.   
  261.   *) INSTALL & README mention "contributed modules" directory [Brian
  262.      Behlendorf]
  263.   
  264.   *) Fixed English in the license language...  "for for" --> "for".
  265.      [Roy Fielding]
  266.   
  267.   *) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
  268.      mod_alias.c, merging it almost completely with handling of Alias, and
  269.      adding a 'notes' field to the request_rec which allows the CGI module
  270.      to discover whether the Alias module has put this request through
  271.      ScriptAlias (which it needs to know for back-combatibility, as the old
  272.      NCSA code did not check Options ExecCGI in ScriptAliased directories).
  273.      [Robert Thau]
  274.   
  275.  
  276. Changes with Apache 0.8.10
  277.  
  278.   *) AllowOverride applies to the named directory, and not just
  279.      subdirectories.  [David Robinson]
  280.  
  281.   *) Do locking for accept() exclusion (on systems that need it)
  282.      using a special file created for the purpose in /usr/tmp, and
  283.      not the error log; using the error log causes real problems
  284.      if it's NFS-mounted; this is known to be the cause of a whole
  285.      lot of "server hang" problems with Solaris.  [David Robinson;
  286.      thanks to Merten Schumann for help diagnosing the problem].
  287.  
  288. Changes with Apache 0.8.9
  289.  
  290.   *) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
  291.  
  292.   *) Nested includes see environment variables of the including document,
  293.      for NCSA bug-compatibility (some sites have standard footer includes
  294.      which try to print out the last-modified date).  [Eric Hagberg/Robert
  295.      Thau]
  296.  
  297.   *) <!--exec cgi="/some/uri/here"--> always treats the item named by the
  298.      URI as a CGI script, even if it would have been treated as something
  299.      else if requested directly, for NCSA back-combatibility.  (Note that
  300.      this means that people who know the name of the script can see the
  301.      code just by asking for it).  [Robert Thau]
  302.  
  303.   *) New version of dbmmanage script included in support directory as
  304.      dbmmanage.new.
  305.  
  306.   *) Check if scoreboard file couldn't be opened, and say so, rather
  307.      then going insane [David Robinson]
  308.  
  309.   *) POST to CGI works on A/UX [Jim Jaglieski]
  310.  
  311.   *) AddIcon and AddAlt commands work properly [Rob Hartill]
  312.  
  313.   *) NCSA server push works properly --- the Arena bug compatibility
  314.      workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
  315.      if you still want the workaround).  [Rob Hartill]
  316.  
  317.   *) If client didn't submit any Accept-encodings, ignore encodings in
  318.      content negotiation.  (NB this will all have to be reworked anyway
  319.      for the new HTTP draft).  [Florent Guillaume]
  320.      
  321.   *) Don't dump core when trying to log timed-out requests [Jim Jaglieski]
  322.  
  323.   *) Really honor CacheNegotiatedDocs [Florent Guillaume]
  324.  
  325.   *) Give Redirect priority over Alias, for NCSA bug compatibility
  326.      [David Robinson]
  327.  
  328.   *) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
  329.      paralleling earlier bug fix for CGI [David Robinson]
  330.  
  331.   *) If DBM auth is improperly configured, report a server error and don't
  332.      dump core.
  333.  
  334.   *) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
  335.      it seems to work well enough without it (even in a 10 hits/sec
  336.      workout), and the overhead for the locking under A/UX is
  337.      alarmingly high (though it is very low on other systems).
  338.      [Eric Hagberg]
  339.  
  340.   *) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
  341.  
  342.   *) Further de-Berklize mod_cookies.c; change the bogus #include.  [Brian
  343.      Behlendorf/Eric Hagberg]
  344.  
  345.   *) More improvements to default Configuration for A/UX [Jim Jaglieski]
  346.  
  347.   *) Compiles clean on NEXT [Rob Hartill]
  348.  
  349.   *) Compiles clean on SGI [Robert Thau]
  350.  
  351. Changes with Apache 0.8.8
  352.  
  353.   *) SunOS library prototypes now never included unless explicitly
  354.      requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
  355.      people using GNU libc on SunOS are screwed by prototypes for the
  356.      standard library.
  357.  
  358.      (Those who wish to compile clean with gcc -Wall on a standard
  359.      SunOS setup need the prototypes, and may obtain them using
  360.      -DSUNOS_LIB_PROTOTYPES.  Those wishing to use -Wall on a system
  361.      with nonstandard libraries are presumably competent to make their
  362.      own arrangements).
  363.  
  364.   *) Strips trailing '/' characters off both args to the Alias command,
  365.      to make 'Alias /foo/ /bar/' work.
  366.  
  367. Changes with Apache 0.8.7
  368.  
  369.   *) Don't hang when restarting with a child from 'TransferLog "|..."' running
  370.      [reported by David Robinson]
  371.  
  372.   *) Compiles clean on OSF/1 [David Robinson]
  373.  
  374.   *) Added some of the more recent significant changes (AddLanguage stuff,
  375.      experimental LogFormat support) to CHANGES file in distribution root
  376.      directory
  377.  
  378. Changes with Apache 0.8.6
  379.  
  380.   *) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
  381.      (If you actually wanted a conditional GET which bypassed the cache, you
  382.      couldn't get it). [Reported by Roy Fielding]
  383.  
  384.   *) Properly terminate headers on '304 Not Modified' replies to conditional
  385.      GETs --- no browser we can find cares much, but the CERN proxy chokes.
  386.      [Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
  387.  
  388.   *) httpd -v doesn't call itself "Shambhala".  [Reported by Chuck Murcko]
  389.  
  390.   *) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
  391.      not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
  392.      and older versions don't set the __SUNPRO_C preprocessor variable).  On
  393.      all other systems, these are never used anyway.  [Reported by Mark Cox].
  394.  
  395.   *) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
  396.  
  397. Changes with Apache 0.8.5
  398.  
  399.   *) Added last-minute configurable log experiment, as optional module
  400.  
  401.   *) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
  402.      properly.  (One-line fix to http_protocol.c).
  403.  
  404.   *) Work around bogus behavior when reloading from Netscape.
  405.      It's Netscape's bug --- for some reason they expect a request with
  406.      If-modified-since: to not function as a conditional GET if it also
  407.      comes with Pragma: no-cache, which is way out of line with the HTTP
  408.      spec (according to Roy Fielding, the redactor).  
  409.  
  410.   *) Added parameter to set maximum number of server processes.  
  411.  
  412.   *) Added patches to make it work on A/UX.  A/UX is *weird*.  [Eric Hagberg]
  413.  
  414.   *) IdentityCheck bugfix [Chuck Murcko].
  415.  
  416.   *) Corrected cgi-src/Makefile entry for new imagemap script.  [Alexei Kosut]
  417.  
  418.   *) More sample config file corrections; add extension to AddType for
  419.      *.asis, move AddType generic description to its proper place, and
  420.      fix miscellaneous typos. [ Alexei Kosut ]
  421.  
  422.   *) Deleted the *other* reference to the regents from the Berkeley
  423.      legal disclaimer (everyplace).
  424.  
  425.   *) Nuked Shambhala name from src/README; had already cleaned it out
  426.      of everywhere else.
  427.  
  428. Changes with Apache 0.8.4
  429.  
  430.   *) Changes to server-pool management parms --- renamed current
  431.      StartServers to MinSpareServers, created separate StartServers
  432.      parameter which means what it says, and renamed MaxServers to
  433.      MaxSpareServers (though the old name still works, for NCSA 1.4
  434.      back-combatibility).  The old names were generally regarded as
  435.      too confusing.  Also altered "docs" in sample config files.
  436.  
  437.   *) More improvements to default config files ---
  438.      sample directives (commented out) for XBitHack, BindAddress,
  439.      CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
  440.      defaults, AddTypes for send-as-is and imagemap magic types, and
  441.      improvements to samples for DirectoryIndex [Alexei Kosut]
  442.  
  443.   *) Yet more improvements to default config files --- changes to
  444.      Alexei's sample AddLanguage directives, and sample LanguagePriority
  445.      [ Florent Guillaume ]
  446.  
  447.   *) Set config file locations properly if not set in httpd.conf
  448.      [ David Robinson ]
  449.  
  450.   *) Don't escape URIs in internal redirects multiple times; don't
  451.      do that when translating PATH_INFO to PATH_TRANSLATED either.
  452.      [ David Robinson ]
  453.  
  454.   *) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
  455.  
  456. Changes with Apache 0.8.3
  457.  
  458.   *) Edited distribution README to *briefly* summarize installation
  459.      procedures, and give a pointer to the INSTALL file in the src/
  460.      directory.
  461.  
  462.   *) Upgraded imagemap script in cgi-bin to 1.8 version from more
  463.      recent NCSA distributions.
  464.  
  465.   *) Bug fix to previous bug fix --- if .htaccess file and <Directory>
  466.      exist for the same directory, use both and don't segfault.  [Reported
  467.      by David Robinson]
  468.  
  469.   *) Proper makefile dependencies [David Robinson]
  470.  
  471.   *) Note (re)starts in error log --- reported by Rob Hartill.
  472.  
  473.   *) Only call no2slash() after get_path_info() has been done, to
  474.      preserve multiple slashes in the PATH_INFO [NCSA compatibility,
  475.      reported by Andrew Wilson, though this one is probably a real bug]
  476.  
  477.   *) Fixed mod_imap.c --- relative paths with base_uri referer don't
  478.      dump core when Referer is not supplied. [Randy Terbush]
  479.  
  480.   *) Lightly edited sample config files to refer people to our documentation
  481.      instead of NCSA's, and to list Rob McCool as *original* author (also
  482.      deleted his old, and no doubt non-functional email address).  Would be
  483.      nice to have examples of new features...
  484.  
  485. Changes with Apache 0.8.2
  486.  
  487.   *) Added AddLanuage code [Florent Guillaume]
  488.  
  489.   *) Don't say "access forbidden" when a CGI script is not found.  [Mark Cox] 
  490.  
  491.   *) All sorts of problems when MultiViews finds a directory.  It would
  492.      be nice if mod_dir.c was robust enough to handle that, but for now,
  493.      just punt.  [reported by Brian Behlendorf]
  494.  
  495.   *) Wait for all children on restart, to make sure that the old socket
  496.      is gone and we can reopen it.  [reported by Randy Terbush]
  497.  
  498.   *) Imagemap module is enabled in default Configuration 
  499.  
  500.   *) RefererLog and UserAgentLog modules properly default the logfile
  501.      [Randy Terbush]
  502.  
  503.   *) Mark Cox's mod_cookies added to the distribution as an optional
  504.      module (commented out in the default Configuration, and noted as
  505.      an experiment, along with mod_dld). [Mark Cox]
  506.  
  507.   *) Compiles on Ultrix (a continuing battle...). [Robert Thau]
  508.  
  509.   *) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
  510.  
  511.   *) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
  512.  
  513.   *) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
  514.      license]
  515.  
  516. Changes with Apache 0.8.1
  517.  
  518.   *) New imagemap module [Randy Terbush]
  519.  
  520.   *) Replacement referer log module with NCSA-compatible RefererIgnore
  521.      [Matthew Gray again]
  522.  
  523.   *) Don't mung directory listings with very long filenames.
  524.      [Florent Guillaume]
  525.  
  526. Changes with Apache 0.8.0 (nee Shambhala 0.6.2):
  527.  
  528.   *) New config script.  See INSTALL for info.  [Robert Thau]
  529.  
  530.   *) Scoreboard mechanism for regulating the number of extant server
  531.      processes.  MaxServers and StartServers defaults are the same as
  532.      for NCSA, but the meanings are slightly different.  (Actually,
  533.      I should probably lower the MaxServers default to 10).
  534.  
  535.      Before asking for a new connection, each server process checks
  536.      the number of other servers which are also waiting for a
  537.      connection.  If there are more than MaxServers, it quietly dies
  538.      off.  Conversely, every second, the root, or caretaker, process
  539.      looks to see how many servers are waiting for a new connection;
  540.      if there are fewer than StartServers, it starts a new one.  This
  541.      does not depend on the number of server processes already extant.
  542.      The accounting is arranged through a "scoreboard" file, named
  543.      /tmp/htstatus.*, on which each process has an independant file
  544.      descriptor (they need to seek without interference).
  545.  
  546.      The end effect is that MaxServers is the maximum number of
  547.      servers on an *inactive* server machine, but more will be forked
  548.      off to handle unusually heavy loads (or unusually slow clients);
  549.      these will die off when they are no longer needed --- without
  550.      reverting to the overhead of full forking operation.  There is a
  551.      hard maximum of 150 server processes compiled in, largely to
  552.      avoid forking out of control and dragging the machine down.
  553.      (This is arguably too high).
  554.  
  555.      In my server endurance tests, this mechanism did not appear to
  556.      impose any significant overhead, even after I forced it to put the
  557.      scoreboard file on a normal filesystem (which might have more
  558.      overhead than tmpfs).  [Robert Thau]
  559.    
  560.   *) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
  561.      [Cliff Skolnick]
  562.  
  563.   *) Read .htaccess files even in directory with <Directory> section.
  564.      (Former incompatibility noted on mailing list, now fixed). [Robert
  565.      Thau]
  566.  
  567.   *) "HEAD /" gives the client a "Bad Request" error message, rather
  568.      than trying to send no body *and* no headers.  [Cliff Skolnick].
  569.  
  570.   *) Don't produce double error reports for some very obscure cases
  571.      mainly involving auth configuration (the "all modules decline to
  572.      handle" case which is a sure sign of a server bug in most cases,
  573.      but also happens when authentication is badly misconfigured).
  574.      [Robert Thau]
  575.  
  576.   *) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
  577.      it's *for*, and this sort of thing really shouldn't be cluttering
  578.      up the Makefile). [Robert Thau]
  579.  
  580.   *) Incidental code cleanups in http_main.c --- stop dragging
  581.      sa_client around; just declare it where used.  [Robert Thau]
  582.   
  583.   *) Another acc-related fix.  (It doesn't like const char
  584.      in some places...). [Mark Cox]
  585.  
  586. Changes with 0.6.1
  587.  
  588.   *) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
  589.      Also, fixed auth typo in http_protocol.c unmasked by this fix.
  590.  
  591.   *) Compiles clean with acc on SunOS [Paul Sutton]
  592.  
  593.   *) Reordered modules in modules.c so that Redirect takes priority
  594.      over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
  595.      believe it or not, he has an actual site with a ScriptAlias and
  596.      a Redirect declared for the *exact same directory*.  Even *my*
  597.      compatibility fetish wouldn't motivate me to fix this if the fix
  598.      required any effort, but it doesn't, so what the hey. 
  599.  
  600.   *) Fixed to properly default several server_rec fields for virtual
  601.      servers from the corresponding fields in the main server_rec.
  602.      [Cliff Skolnick --- 'port' was a particular irritant].
  603.  
  604.   *) No longer kills off nph- child processes before they are
  605.      finished sending output. [Matthew Gray]
  606.  
  607. Changes with 0.6.0
  608.  
  609.   *) Two styles of timeout --- hard and soft.  soft_timeout()s just put
  610.      the connection to the client in an "aborted" state, but otherwise
  611.      allow whatever handlers are running to clean up.  hard_timeout()s
  612.      abort the request in progress completely; anything not tied to some
  613.      resource pool cleanup will leak.  They're still around because I
  614.      haven't yet come up with a more elegant way of handling
  615.      timeouts when talking to something that isn't the client.  The
  616.      default_handler and the dir_handler now use soft timeouts, largely
  617.      so I can test the feature.  [Robert Thau]
  618.  
  619.   *) TransferLog "| my_postprocessor ..." seems to be there.  Note that
  620.      the case of log handlers dying prematurely is probably handled VERY
  621.      gracelessly at this point, and if the logger stops reading input,
  622.      the server will hang.  (It is known to correctly restart the
  623.      logging process on server restart; this is (should be!) going through
  624.      the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
  625.      script).  [Robert Thau]
  626.  
  627.   *) asis files supported (new module).  [Robert Thau]
  628.  
  629.   *) IdentityCheck code is compiled in, but has not been tested.  (I
  630.      don't know anyone who runs identd). [Robert Thau]
  631.  
  632.   *) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
  633.      came in with the request, for NCSA bug-compatibility. [Robert Thau]
  634.  
  635.   *) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
  636.  
  637.   *) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
  638.      as timeouts are not in scope. [Robert Thau]
  639.  
  640.   *) quoted-string args in config files now handled correctly (doesn't drop
  641.      the last character). [Robert Thau; reported by Randy Terbush]
  642.  
  643.   *) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
  644.      How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
  645.  
  646.   *) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
  647.      default default type); the former default default behavior when all
  648.      type-checkers defaulted had been a core dump.  [Paul Sutton]
  649.  
  650.   *) Copy filenames out of the struct dirent when indexing
  651.      directories.  (On Linux, readdir() returns a pointer to the same
  652.      memory area every time).  Fix is in mod_dir.c.  [Paul Sutton]
  653.  
  654. Changes with 0.5.3 [not released]
  655.  
  656.   *) Default response handler notes "file not found" in the error log,
  657.      if the file was not found.  [Cliff Skolnick].
  658.  
  659.   *) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
  660.      code no longer sets up bogus PATH_INFO which fakes out the directory
  661.      handler). [Cliff Skolnick]
  662.  
  663. Changes with 0.5.2
  664.  
  665.   *) Changes to http_main.c --- root server no longer plays silly
  666.      games with SIGCHLD, and so now detects and replaces dying
  667.      children.  Child processes just die on SIGTERM, without taking
  668.      the whole process group with them.  Potential problem --- if any
  669.      child process refuses to die, we hang in restart.
  670.      MaxRequestsPerChild may still not work, but it certainly works
  671.      better than it did before this!  [Robert Thau]
  672.  
  673.   *) mod_dir.c bug fixes: ReadmeName and HeaderName
  674.      work (or work better, at least); over-long description lines
  675.      properly terminated. [Mark Cox]
  676.  
  677.   *) http_request.c now calls unescape_url() more places where it
  678.      should [Paul Sutton].
  679.  
  680.   *) More directory handling bugs (reported by Cox)
  681.      Parent Directory link is now set correctly. [Robert Thau]
  682.  
  683. Changes with 0.5.1: [Hopefully complete]
  684.  
  685.   *) Generalized cleanup interface in alloc.c --- any function can be
  686.      registered with alloc.c as a cleanup for a resource pool;
  687.      tracking of files and file descriptors has been reimplemented in
  688.      terms of this interface, so I can give it some sort of a test.
  689.      [Robert Thau]
  690.  
  691.   *) More changes in alloc.c --- new cleanup_for_exec() function,
  692.      which tracks down and closes all file descriptors which have been
  693.      registered with the alloc.c machinery before the server exec()s a
  694.      child process for CGI or <!--#exec-->.  CGI children now get
  695.      started with exactly three file descriptors open.  Hopefully,
  696.      this cures the problem Rob H. was having with overly persistent
  697.      CGI connections. [Robert Thau]
  698.  
  699.   *) Mutual exclusion around the accept() in child_main() --- this is
  700.      required on at least SGI, Solaris and Linux, and is #ifdef'ed in
  701.      by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
  702.      This uses fcntl(F_SETLK,...) on the error log descriptor because
  703.      flock() on that descriptor won't work on systems which have BSD
  704.      flock() semantics, including (I think) Linux 1.3 and Solaris.
  705.  
  706.      This does work on SunOS (when the server is idle, only one
  707.      process in the pool is waiting on accept()); it *ought* to work
  708.      on the other systems. [Robert Thau]
  709.  
  710.   *) FreeBSD and BSDI portability tweaks [Chuck Murcko]
  711.  
  712.   *) sizeof(*sa_client) bugfix from [Rob Hartill]
  713.  
  714.   *) pstrdup(..., NULL) returns NULL, [Randy Terbush]
  715.  
  716.   *) block_alarms() to avoid leaking the DBM* in dbm auth (this should
  717.      be unnecessary if I go to the revised timeout-handling scheme).
  718.      [Robert Thau]
  719.  
  720.   *) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
  721.      string) even if none came in with the request.  [Robert Thau]
  722.  
  723.   *) CHANGES file added to distribution ;-).
  724.